<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Mustache语法</title>
</head>

<body>

  <div id="app">
    <h4>{{ message }}</h4>
    <h4>{{ name }} + {{ counter }}</h4>
    <h4>{{ counter * 2 }}</h4>
  </div>

  <script src="../../js/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        counter: 1,
        message: 'hello',
        name: 'chen'
      }
    })
  </script>
</body>

</html>